export default {
  pages: [
    "pages/home/index",
    "pages/shop-cart/index",
    "pages/my/index",
    "pages/category/index",
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "",
    navigationBarTextStyle: "black",
    onReachBottomDistance: 50,
  },
  tabBar: {
    color: "#6e6d6b",
    selectedColor: "#e64340",
    borderStyle: "white",
    backgroundColor: "#fff",
    list: [
      {
        pagePath: "pages/home/index",
        iconPath: "assets/images/nav/home-off.png",
        selectedIconPath: "assets/images/nav/home-on.png",
        text: "首页",
      },
      {
        pagePath: "pages/category/index",
        iconPath: "assets/images/nav/ic_catefory_normal.png",
        selectedIconPath: "assets/images/nav/ic_catefory_pressed.png",
        text: "分类",
      },
      {
        pagePath: "pages/shop-cart/index",
        iconPath: "assets/images/nav/cart-off.png",
        selectedIconPath: "assets/images/nav/cart-on.png",
        text: "购物车",
      },
      {
        pagePath: "pages/my/index",
        iconPath: "assets/images/nav/my-off.png",
        selectedIconPath: "assets/images/nav/my-on.png",
        text: "我的",
      },
    ],
  },
  permission: {
    "scope.userLocation": {
      desc: "获取离你最近的门店",
    },
  },
}
